<template>
  <header class="header">
    <div class="header-content">
      <router-link to="/" class="logo-link">
        <Logo :size="40"/>
        <span class="site-name">发货系统平台11</span>
      </router-link>

      <div class="nav-menu">
        <!-- 其他导航菜单内容 -->
      </div>
    </div>
  </header>
</template>

<script setup>
import Logo from './Logo.vue'
</script>

<style scoped>
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #303133;
}

.site-name {
  font-size: 18px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .site-name {
    font-size: 16px;
  }
}
</style>
